window.onload = function() {
	var oBtn1 = document.getElementById("img1");
	var oDemo1 = document.getElementById("icon1");
	var oBtn2 = document.getElementById("img2");
	var oDemo2 = document.getElementById("icon2");
	var oBtn3 = document.getElementById("img3");
	var oDemo3 = document.getElementById("icon3");
	var oBtn4 = document.getElementById("img4");
	var oDemo4 = document.getElementById("icon4");
	var oBtn5 = document.getElementById("img5");
	var oDemo5 = document.getElementById("icon5");
	var oBtn6 = document.getElementById("img6");
	var oDemo6 = document.getElementById("icon6");
	
	oBtn1.onclick = function() {
		if(oDemo1.style.display == "block") {
			oDemo1.style.display = "none";
		} else {
			oDemo1.style.display = "block";
		}
	}
	
	oBtn2.onclick = function() {
		if(oDemo2.style.display == "block") {
			oDemo2.style.display = "none";
		} else {
			oDemo2.style.display = "block";
		}
	}
	
	oBtn3.onclick = function() {
		if(oDemo3.style.display == "block") {
			oDemo3.style.display = "none";
		} else {
			oDemo3.style.display = "block";
		}
	}
	
	oBtn4.onclick = function() {
		if(oDemo4.style.display == "block") {
			oDemo4.style.display = "none";
		} else {
			oDemo4.style.display = "block";
		}
	}
	
	oBtn5.onclick = function() {
		if(oDemo5.style.display == "block") {
			oDemo5.style.display = "none";
		} else {
			oDemo5.style.display = "block";
		}
	}
	
	oBtn6.onclick = function() {
		if(oDemo6.style.display == "block") {
			oDemo6.style.display = "none";
		} else {
			oDemo6.style.display = "block";
		}
	}
}
